import request from "@/utils/request"

// 查询列表
export function queryPageProjectToAdmin(data) {
  return request({
    url: "/lProjectToAdmin/queryPageProjectToAdmin",
    method: "get",
    params: data
  })
}

export function insertProjectAdmin(data) {
  return request({
    url: "/lProjectToAdmin/insertProjectToAdmin",
    method: "POST",
    data: data
  })
}
// 删除
export function deleteProjectAdmin(id) {
  return request({
    url: "/lProjectToAdmin/deleteProjectToAdmin",
    method: "POST",
    data: id
  })
}

// update
export function updateProjectAdmin(data) {
  return request({
    url: "/lProjectToAdmin/updateProject",
    method: "POST",
    data: data
  })
}

export function deactivate(id) {
  return request({
    url: "/lProjectToAdmin/Deactivate",
    method: "POST",
    data: id
  })
}
// POST /lProjectToAdmin/ResetPassword
export function resetPassword(id) {
  return request({
    url: "/lProjectToAdmin/ResetPassword",
    method: "POST",
    data: id
  })
}
// 客户接口 /lCustomer/queryPageCustomer
export function queryPageCustomer(data) {
  return request({
    url: "/lCustomer/queryPageCustomer",
    method: "get",
    params: data
  })
}
// /lProject/queryPageProject 项目接口
export function queryPageProject(data) {
  return request({
    url: "/lProject/queryPageProject",
    method: "get",
    params: data
  })
}
